﻿<controls:ChildWindow x:Class="Candy.ProjectLoaderWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="178" 
           Title="ProjectLoaderWindow" Style="{StaticResource ChildWindowStyleChromeless}">
    <Border Margin="2" Background="{StaticResource ControlBackgroundDark}" BorderBrush="{StaticResource Accent}" BorderThickness="1">
        <Grid x:Name="LayoutRoot">
            <Grid.RowDefinitions>
                <RowDefinition Height="47*" />
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="62*"/>
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock HorizontalAlignment="Center" Margin="0" Grid.Row="1" TextWrapping="Wrap" Text="Loading project..." VerticalAlignment="Center" FontSize="{StaticResource HeaderFontSize}"/>
            <ProgressBar Margin="10,0" Grid.Row="2" VerticalAlignment="Top" IsIndeterminate="True"/>
        </Grid>
    </Border>
</controls:ChildWindow>